<!--[include file='admin_std_header.htm']-->
<link rel="stylesheet" type="text/css" href="<!--[modulepath]-->/pnjavascript/ddtabmenu/ddtabmenufiles/ddcolortabs_blue.css" />
<div id="ddtabs" class="ddcolortabs">
  <ul>
    <li><a href="<!--[pnmodurl modname='iCarrent' type='admin' func='page' ctrl='home']-->" rel="ct1"><span>หน้าหลักระบบจัดการ</span></a></li>
    <li><a href="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Topics']-->" rel="ct1"><span>รายการประกาศ</span></a></li>
  </ul>
</div>
<div class="ddcolortabsline">&nbsp;</div>

<fieldset>
  <form action="<!--[pnmodurl modname='iCarrent' type='admin' func='list' ctrl='Posts' id=$_GET.id]-->" method='post'>
    <div align='right'>
    ค้นหา : <input name="filter[keyword]" type="text" value="<!--[$_POST.filter.keyword]-->" />
    <button class="button" type="submit" ><img align="absmiddle" src="<!--[modulepath]-->/pnimages/001_37.png"  />ค้นหา</button>
    </div>
  </form>
</fieldset>

<fieldset>
<table width="90%" border="0" align="center" bgcolor="#FEF8E9">
  <tr>
    <td width="20%" height="30px" bgcolor="#FEE09C"><div align="right"><strong>รหัส</strong></div></td>
    <td bgcolor="#FEE09C"><!--[$extendResult.id]--></td>
  </tr>

  <tr>
    <td><div align="right"><strong>ผู้โพส</strong></div></td>
    <td><!--[pnusergetvar name='_UREALNAME' uid=$extendResult.cr_uid]-->&nbsp;&nbsp;
     <a href="<!--[pnmodurl modname='iCarrent' func='form' ctrl='topics' id=$extendResult.id]-->" >
     <img src='<!--[modulepath]-->/pnimages/pencil.png' />[แก้ไขรายละเอียดหัวข้อนี้]</a>
    </td>
  </tr>
  <tr>
    <td><div align="right"><strong>รายละเอียด</strong></div></td>
    <td><!--[$extendResult.detail]--></td>
  </tr>
  <tr>
    <td><div align="right"><strong>อุปกรณ์เสริม</strong></div></td>
    <td><!--[$extendResult.detail]--></td>
  </tr>
  <tr>
    <td><div align="right"><strong>อีเมล์</strong></div></td>
    <td><!--[$extendResult.email]--></td>
  </tr>
  <tr>
    <td><div align="right"><strong>เบอร์โทรศัพท์</strong></div></td>
    <td><!--[$extendResult.telephone1]--></td>
  </tr>
  <tr>
	<td><div align="right"><strong>วันที่ โพส</strong></div></td>
    <td><!--[$extendResult.lu_date|date_format:"%e %B %Y"]--></td>
  </tr>
  <tr>
    <td><div align="right"><strong>IP Address</strong></div></td>
    <td><!--[$extendResult.ipaddress]--></td>
  </tr>
</table>
<br /><br />
 <!--[foreach from=$objectArray item=item]-->
<table width="90%" border="0" align="center" bgcolor="#ECF5FF">
  <tr>
    <td width="20%" height="30px" bgcolor="#B8D2FE"><div align="right"><strong>รหัส : <!--[$item.id]--></strong></div></td>
    <td bgcolor="#B8D2FE">
    <div align='right'>
      <a href="<!--[pnmodurl modname='iCarrent' func='delete' ctrl='posts' id=$item.id topic_id=$smarty.request.id]-->&forward=<!--[pngetcurrenturl|rawurlencode]-->"><img src="<!--[modulepath]-->/pnimages/delete.png" align="absmiddle" />ลบหัวข้อนี้</a>
    </div>
    </td>
  </tr>

  <tr>
    <td><div align="right"><strong>ผู้โพส</strong></div></td>
    <td><!--[$item.name]--></td>
  </tr>
  <tr>
    <td><div align="right"><strong>รายละเอียด</strong></div></td>
    <td><!--[$item.detail]--></td>
  </tr>
  <tr>
    <td><div align="right"><strong>อีเมล์</strong></div></td>
    <td><!--[$item.email]--></td>
  </tr>
  <tr>
    <td><div align="right"><strong>เบอร์โทรศัพท์</strong></div></td>
    <td><!--[$item.telephone]--></td>
  </tr>
  <tr>
	<td><div align="right"><strong>วันที่ โพส</strong></div></td>
    <td><!--[$item.lu_date|date_format:"%e %B %Y"]--></td>
  </tr>
  <tr>
    <td><div align="right"><strong>IP Address</strong></div></td>
    <td><!--[$item.ipaddress]--></td>
  </tr>
</table>
<br />
<!--[/foreach]-->
</fieldset>
<!--[include file='admin_std_footer.htm']-->